home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-04-30 | 1.0 KB | 37 lines | [TEXT/MPS ] |
- % ---------------------------------------------------------------------------
- % Class MACCursor
- %
- % Part of the interface to Macintosh Toolbox
- % MACCursor is part of the programming interface. Cursors are used to
- % communicate information about a cursor.
- % Se Inside Macintosh for a description of what the attributes means.
- %
- % 890331/Boris Magnusson
- % 892804/Göran Eriksson
- %
- % ---------------------------------------------------------------------------
- external class MacUtilities="::Sinterfaces:MacUtilities";
- external class ToolboxGrafPort="::Sinterfaces:ToolboxGrafPort";
- ToolboxGrafPort class MACCursor;
- begin
- integer handle;
- procedure GetCursor(cursorID);
- short integer cursorId;
- begin
- handle:=new MacUtilities.GetCursor(cursorID);
- end;
- ! Cursor Routines ;
-
- procedure InitCursor;TOOLBOXInitCursor;
- procedure HideCursor;TOOLBOXHideCursor;
- procedure ShowCursor;TOOLBOXShowCursor;
- procedure ObscureCursor;TOOLBOXObscureCursor;
- procedure SetCursor;
- begin
- integer theCursor;
- theCursor:=Dereference(handle);
- TOOLBOXSetCursor(theCursor);
- end;
-
- end;
-